package com.zq.widget.inverted.game.role;

import java.util.Collection;

/**
 * Created by zhangqiang on 2018/3/30.
 */
public interface RoleParent{

    void addChild(Role role);

    void addChild(Role[] roles);

    void addChildList(Collection<Role> roles);

    void removeAllChild();

    void removeChild(Role child);

    Role removeChildAt(int index);

    void removeChild(int start, int count);

    int getChildCount();

    Role getChildAt(int position);

    void notifyRoleTreeChange();
}
